Inside Macintosh: QuickTime

Previous | Chapter Top | Chapter Contents | Next

Movies and the Scrap

The Movie Toolbox makes it very easy for your application to deal with the scrap by providing two high-level functions that handle the details for you. When you want to put a movie onto the scrap, call the PutMovieOnScrap function (described on PutMovieOnScrap ). When you want to get a movie from the scrap, use the NewMovieFromScrap function (described on NewMovieFromScrap ).

When you use these functions, the Movie Toolbox takes care of all of the appropriate resources. For example, when you call the PutMovieOnScrap function, the Movie Toolbox creates a movie resource and a PICT image from the movie, and it places both on the scrap. In the future, as QuickTime grows, Apple will maintain these functions so that they continue to handle the appropriate resources.


© 1997 Apple Computer, Inc.

Previous | Chapter Top | Chapter Contents | Next